package com.click369.crm.pojo;

import java.io.Serializable;
import java.util.Date;

public class CStaff implements Serializable{
    private Integer id;
    private String name;
    private String username;
    private String password;
    private Integer sex;
    private Date birthday;
    private Date entry;
	private Date begin;//生日开始时间
	private Date over;//生日结束时间
	private Date start;//入职开始时间
	private Date end;//入职结束时间
    private Integer positionId;
    private Date updateTime;
    private Date createTime;
    
	@Override
	public String toString() {
		return "CStaff [id=" + id + ", name=" + name + ", username=" + username + ", password=" + password + ", sex="
				+ sex + ", birthday=" + birthday + ", entry=" + entry + ", begin=" + begin + ", over=" + over
				+ ", start=" + start + ", end=" + end + ", positionId=" + positionId + ", updateTime=" + updateTime
				+ ", createTime=" + createTime + ", getId()=" + getId() + ", getName()=" + getName()
				+ ", getUsername()=" + getUsername() + ", getPassword()=" + getPassword() + ", getSex()=" + getSex()
				+ ", getBirthday()=" + getBirthday() + ", getEntry()=" + getEntry() + ", getPositionId()="
				+ getPositionId() + ", getUpdateTime()=" + getUpdateTime() + ", getCreateTime()=" + getCreateTime()
				+ ", getBegin()=" + getBegin() + ", getOver()=" + getOver() + ", getStart()=" + getStart()
				+ ", getEnd()=" + getEnd() + ", getClass()=" + getClass() + ", hashCode()=" + hashCode()
				+ ", toString()=" + super.toString() + "]";
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Date getEntry() {
        return entry;
    }

    public void setEntry(Date entry) {
        this.entry = entry;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	public Date getBegin() {
		return begin;
	}

	public void setBegin(Date begin) {
		this.begin = begin;
	}

	public Date getOver() {
		return over;
	}

	public void setOver(Date over) {
		this.over = over;
	}

	public Date getStart() {
		return start;
	}

	public void setStart(Date start) {
		this.start = start;
	}

	public Date getEnd() {
		return end;
	}

	public void setEnd(Date end) {
		this.end = end;
	}
}